home *** CD-ROM | disk | FTP | other *** search
/ Strike Squad / Strike Squad.iso / install.bat < prev    next >
Encoding:
DOS Batch File  |  1994-11-27  |  1.4 KB  |  66 lines

  1. @echo off
  2. cd \strksqd
  3. echo.
  4. echo ┌───────────────────────────────────────────────────┐
  5. echo │                                                   │
  6. echo │    Installation program for Strike Squad          │
  7. echo │                                                   │
  8. echo └───────────────────────────────────────────────────┘
  9. echo.
  10.  
  11. if exist install\info.bat goto _path
  12. echo.
  13. echo Change to your CD-ROM DRIVE before executing the Install program!
  14. echo.
  15. goto _exit
  16.  
  17. :_path
  18. if "%1"=="" goto _template
  19.  
  20. :_target
  21. if exist %1:\STRKSQD\NUL goto _copy
  22. mkdir %1:\STRKSQD
  23. echo.
  24. if exist %1:\STRKSQD\NUL goto _copy
  25. if not exist %1:\STRKSQD\NUL echo ** An error occured trying to create %1 **
  26. echo.
  27. goto _template
  28.  
  29. :_copy
  30. echo .
  31. echo Copying files to %1:\STRKSQD...
  32. copy install\*.* %1:\STRKSQD > nul
  33.  
  34. MD %1:\STRKSQD\ENTSPEAK > nul
  35.  
  36. echo.
  37. echo ** Strike Squad has been successfully installed **
  38. echo.
  39. pause
  40. %1:
  41. cd \STRKSQD
  42. reader readme.doc
  43. GOTO _EXIT
  44.  
  45. :_template
  46. echo This program will create an STRKSQD directory on your drive C:
  47. echo If you want the program installed to a different drive,
  48. echo break this program (CTRL-C) and use the command:
  49. echo    INSTALL DRIVE
  50. echo For example, to install the program to drive D: type
  51. echo    INSTALL D
  52. echo.
  53. pause
  54.  
  55. Install C
  56. :_ok
  57. echo.
  58. echo ** Strike Squad has been successfully installed **
  59. echo.
  60. pause
  61. cd %1:\STRKSQD
  62. reader readme.doc
  63. :_exit
  64. echo on
  65.  
  66.